package com.laolang.pluto.module.sys.consts.entity;

/**
 * @author laolang
 * @date 2021-08-06 23:50
 */
public class SysUserConst {

    public enum Gender {
        /**
         *
         */
        MAIL(1, "男"),
        FAMAIL(2, "女"),
        UNKNOWN(3, "未知");
        private final int value;
        private final String desc;

        Gender(int value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public int getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }

    public enum Status {
        /**
         *
         */
        NORMAL(0, "正常"),
        LOCK(99, "冻结");
        private final int value;
        private final String desc;

        Status(int value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public int getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }

    public enum Type {
        /**
         *
         */
        TENANT_MASTER(1, "租户主账号"),
        SUB_ACCOUNT(2, "子账号"),
        USER_ACCOUNT(3, "用户主账号");
        private final int value;
        private final String desc;

        Type(int value, String desc) {
            this.value = value;
            this.desc = desc;
        }

        public int getValue() {
            return value;
        }

        public String getDesc() {
            return desc;
        }
    }
}
